﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GuoZhiQi.MiddleCache.Parameter
{
    public interface ICouchBaseParameter<T>
    {
        /// <summary>
        /// Key for parameter.
        /// </summary>
        string Key
        {
            get;
        }

        /// <summary>
        /// Parent of this parameter.
        /// </summary>
        ICouchBaseObject Parent
        {
            get;
        }

        /// <summary>
        /// Value of type T of this paramater.
        /// </summary>
        T Value
        {
            get;
            set;
        }
    }
}
